package com.matchmaking.auth.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.matchmaking.auth.domain.SysMenu;
import com.matchmaking.auth.service.SysMenuService;
import com.matchmaking.auth.mapper.SysMenuMapper;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author 傲
* @description 针对表【sys_menu(菜单权限表)】的数据库操作Service实现
* @createDate 2024-03-25 09:51:39
*/
@Service
public class SysMenuServiceImpl extends ServiceImpl<SysMenuMapper, SysMenu>
    implements SysMenuService{

    @Override
    public List<SysMenu> selectMenusByUserId(Long userId) {

      return   baseMapper.selectMenusByUserId(userId);
    }
}




